Skip to content

Conversation

@scordio
Copy link
Contributor

@scordio scordio commented Oct 22, 2025

This change:

  • Adds state management delegation to MappingItemWriter by implementing ItemStreamWriter
  • Enhances the MappingItemWriter reference documentation section

Comment on lines -10 to +12
In some cases, a user needs specialized behavior to be appended to a pre-existing
`ItemReader`. Spring Batch offers some out of the box decorators that can add
additional behavior to to your `ItemReader` and `ItemWriter` implementations.

Spring Batch includes the following decorators:
In some cases, you might need specialized behavior to be appended to a pre-existing
`ItemReader` or `ItemWriter` implementation.
For this purpose, Spring Batch offers the following out-of-the-box decorators:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made the intro more concise, but I can revert it if you prefer the previous version.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great!

@scordio scordio force-pushed the refine-mapping-item-writer branch from 2a4b560 to 83ddf96 Compare October 22, 2025 17:11
@fmbenhassine
Copy link
Contributor

Seems like we were writing about the same thing at the same time 😄 I just wanted to inform you about the docs update here: #4890 (comment).

I did it because I was about to start the release process for RC1. But I can still add the state management in this PR to RC1

@scordio scordio mentioned this pull request Oct 22, 2025
@scordio
Copy link
Contributor Author

scordio commented Oct 22, 2025

Rebasing this now!

@scordio scordio force-pushed the refine-mapping-item-writer branch from 83ddf96 to 63c970d Compare October 22, 2025 17:16
@scordio
Copy link
Contributor Author

scordio commented Oct 22, 2025

@fmbenhassine it's ready 🙂

@fmbenhassine fmbenhassine merged commit 63c970d into spring-projects:main Oct 22, 2025
2 checks passed
@fmbenhassine
Copy link
Contributor

It's in! Thanks again for all your contributions 🙏

@scordio scordio deleted the refine-mapping-item-writer branch October 22, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants